<?php

use app\modules\home\controllers\HomeController;
use yii\helpers\Html;
use \app\components\Lcms;
use yii\helpers\Url;

$this->beginPage();
$WEB = Lcms::getWeb();
?><!doctype html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
        <title><?= Html::encode($this->context->title) ?></title>
        <meta name="keywords" content="<?= Html::encode($this->context->keywords) ?>" />
        <meta name="description" content="<?= Html::encode($this->context->description) ?>" />
 
        <script type="text/javascript" src="/public/js/jquery-1.7.1.min.js"></script>
  
        <?= Html::csrfMetaTags() ?>
        <?php
        $this->head();
       /// echo $this->context->getSiteForm()->quanju;
        ?> 


    </head>
    <script type="text/javascript" charset="utf-8">
        var WEB = '<?= $WEB; ?>';
        var userid = '<?php
        if (Yii::$app->user->isGuest) {
            echo '0';
        } else {
            echo Yii::$app->user->id;
        }
        ?>';

    </script>
    <body > 
       
<?php echo $content; ?>
 

<?php $this->endBody() ?>
</html>
<?php $this->endPage() ?>